class Student(object):
    def __init__(self, 姓名, 年龄):
        self.name = 姓名
        self.age = 年龄

    def displayinfo(self):
        print(self.name, self.age)

s1 = Student('小明',12)
s2 = Student('小强',13)
s1.displayinfo()
s2.displayinfo()